<?php
defined( '_JEXEC' ) or die( 'Restricted access' );?>
<div><h2 style="text-align:center"><?php echo sprintf('%02s',$this->day).'/'.sprintf('%02s',$this->month).'/'.$this->year;?></h2> <hr class="QCEhr"/>
	<?php	for ($r=0, $rn=count( $this->lDesc ); $r < $rn; $r++)	{
			$row = &$this->lDesc[$r];$hr=sprintf('%02s', $row->hr);$min=sprintf('%02s', $row->min);$thr=sprintf('%02s', $row->thr);$tmin=sprintf('%02s', $row->tmin);$img=$row->long_desc_image;
			$H1=($row->hr)*60+$row->min;$H2=($row->thr)*60+$row->tmin;
			echo '<div><span class="spn2QCE">';
			echo ($H2>$H1)? "$hr:$min - $thr:$tmin" : "$hr:$min";
			echo "</span>";
			if ($row->link=='url'){ echo "<p class='QCEsd'><a href='$row->url' target='_blank'>".ucfirst($row->short_desc).'</a></p>';}else{ echo '<p class="QCEsd">'.ucfirst($row->short_desc).'</p>';}
			echo '</div><div>';
			if ($img){ echo'<img class="QCEimg" src="'.JURI::root().$img.'" />';}
			echo $row->long_desc.'</div><hr class="QCEhr" />';
		}
	?>
</div>
